@/*
    选择查询条件标签的参数说明:

    name : 查询条件的名称
    id : 查询内容的input框id
    selectedCode : 选定项
    packageName : 包名
@*/
<div class="input-group">
    <div class="input-group-btn">
        <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">
            ${name}
        </button>
    </div>
    <select class="form-control" id="${id}"
             @if(isNotEmpty(selectedCode)){
                    selectedCode="${selectedCode}"
             @}
             
             @if(isNotEmpty(packageName)){
                    packageName="${packageName}"
             @}
             >
        ${tagBody!}
    </select>
</div>
<script src="${ctxPath}/static/modular/common.js"></script>
<script type="text/javascript">
$(function () {
	//var select = $("#${id}");
    Common.initEnumSelById("${id}");
});
</script>